package com.itwang.utils.jwt;

import com.itwang.entity.dto.AccountProfileDTO;
import org.apache.shiro.SecurityUtils;

public class ShiroProfile {
    public static AccountProfileDTO getProfile() {
        return (AccountProfileDTO) SecurityUtils.getSubject().getPrincipal();
    }
}
